<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>权限列表</title>
        <meta http-equiv="content-type" content="text/html;charset=utf-8">
        <link href="<?php echo (ADMIN_CSS_URL); ?>mine.css" type="text/css" rel="stylesheet">
    </head>

    <body>

        <div class="div_head">
            <span>
                <span style="float:left">当前位置是：权限-》权限列表</span>
                <span style="float:right;margin-right: 8px;font-weight: bold">
                    <a style="text-decoration: none" href="tianjia" >【添加权限】</a>
                </span>
            </span>
        </div>
        <div></div>

        <div style="font-size: 13px;margin: 10px 5px;">
            <!--<form action="/666/shop/index.php/Admin/Auth/showlist" method="post" enctype="multipart/form-data">-->
            <table border="1" width="100%" class="table_a">
                <tr> 
                <td>序号</td>
                <td>权限名称</td>
                <td>父id</td>
                <td>控制器</td>
                <td>操作方法</td>
                <td>全路径</td>
                <td>等级</td>
                <td colspan='2'>操作</td>
                </tr>
              <?php if(is_array($auth_info)): foreach($auth_info as $key=>$v): ?><tr>
                   <td><?php echo ($v["auth_id"]); ?></td>
                   <td><?php echo ($v["auth_name"]); ?></td>
                   <td><?php echo ($v["auth_pid"]); ?></td>
                   <td><?php echo ($v["auth_c"]); ?></td>
                   <td><?php echo ($v["auth_a"]); ?></td>
                   <td><?php echo ($v["auth_path"]); ?></td>
                   <td><?php echo ($v["auth_level"]); ?></td>
                   <td><a href="xiugai/auth_id/<?php echo ($v["auth_id"]); ?>">修改</a></td>
                   <td><a href="del/auth_id/<?php echo ($v["auth_id"]); ?>" onclick="return confirm('删除后将无法恢复,确定要删除?')"> 删除</a></td>
                </tr><?php endforeach; endif; ?>
            </table>
            <!--</form>-->
        </div>
    </body>
</html>